package com.spzx.user.service;

import com.spzx.model.dto.h5.UserLoginDto;
import com.spzx.model.dto.h5.UserRegisterDto;
import com.spzx.model.vo.h5.UserInfoVo;

/**
 * Project: spzx-parent
 * Package: com.spzx.user.service
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/4/14 下午11:07
 */
public interface UserInfoService {
    //注册
    void register(UserRegisterDto userRegisterDto);

    //用户登录
    Object login(UserLoginDto userLoginDto);

    //获取当前用户登录信息
    UserInfoVo getCurrentUserInfo(String token);
}
